// Package cmd /*
package cmd

import (
	"fmt"
	"github.com/spf13/cobra"
	"os"
	"remote_exec/util"
)

var rootCmd = &cobra.Command{
	Use:   "remote",
	Short: "shell batch execute tool",
	Long:  "shell batch execute tool",
}

func Execute() {
	if err := rootCmd.Execute(); err != nil {
		os.Exit(1)
	}
}

func init() {
	rootCmd.Version = fmt.Sprintf("%s\nReport Bug: <https://gitee.com/chmodke/remote_exec/>", util.VERSION)
}
